package com.wang.interview.designmode.builder;

/**
 * @author: wang
 * @date: 2021/7/31 20:03
 * @description:
 */
//@Target(ElementType.PACKAGE)
//@Retention(RetentionPolicy.RUNTIME)
abstract class Builder {
    private House house = new House();

    public House getHouse() {
        return house;
    }
    abstract void BuildBase();
    abstract void BuildWall();
    abstract void BuildRoof();
    protected House buildHouse(){
        return house;
    }
}
